<template>
  <router-view/>
</template>
<script setup lang="ts">
import { useStore } from 'vuex'
import { generateNewStyle, writeNewStyle } from './utils/theme'
const store = useStore()
generateNewStyle(store.getters.mainColor).then(newStyle => {
  writeNewStyle(newStyle)
})
</script>
<style lang="scss">
</style>
